﻿using ManagementApi.Models.Project;
using ManagementApi.Models;
using ManagementApi.Services.Import;
using Modules.Device;
using Modules.Manager;
using Modules.Project;
using PmSoft;

namespace ManagementApi.Services.ProjectImport;

/// <summary>
/// 导入模型
/// </summary>
public class ProjectImportDto : ProjectImportForm
{
    /// <summary>
    /// 数据状态
    /// </summary>
    public bool Status { get; set; } = true;

    /// <summary>
    /// 错误数量
    /// </summary>
    public int ErrorCount { get; set; } = 0;

    /// <summary>
    /// 错误消息
    /// </summary>
    public string ErrorMsg { get; set; } = string.Empty;

    /// <summary>
    /// 导入字段的各字段危险等级:success,warning,danger
    /// </summary>
    public Dictionary<string, string>? FieldImportLevel { get; set; }

    /// <summary>
    /// 导入字段的各字段描述信息
    /// </summary>
    public Dictionary<string, string>? FieldImportMsg { get; set; }
}